#
# MistKit
#

Pod::Spec.new do |s|
    s.name             = 'MistKit'
    s.version          = '0.0.2'
    s.summary          = 'A meaningful summary for MistKit.'
    s.description      = <<-DESC
                        MistKit is an iOS drop-in class, a personal lib for mist
                       DESC

    s.homepage         = 'https://gitee.com/mist/mistkit'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'app.mist@gmail.com' => 'app.mist@gmail.com' }
    s.source           = { :git => 'https://gitee.com/mist/mistkit.git', :tag => s.version.to_s }

    s.ios.deployment_target = '9.0'

    s.source_files = 'MistKit/Classes/*.{h,m}'

    # Vendor
    s.subspec 'Vendor' do |ss|

        ss.subspec 'MetaMacros' do |sss|
            sss.source_files = 'MistKit/Classes/Vendor/MetaMacros/*.{h,m}'
        end

    end

    # Base
    s.subspec 'Base' do |ss|
        ss.source_files = 'MistKit/Classes/Base/*.{h,m}'

        ss.subspec 'Color' do |sss|
            sss.source_files = 'MistKit/Classes/Base/Color/*.{h,m}'
            # sss.dependency 'MetaMacros'
        end

        ss.subspec 'Property' do |sss|
            sss.source_files = 'MistKit/Classes/Base/Property/*.{h,m}'
        end

        ss.subspec 'String' do |sss|
            sss.source_files = 'MistKit/Classes/Base/String/*.{h,m}'
        end

        ss.subspec 'View' do |sss|
            sss.source_files = 'MistKit/Classes/Base/View/*.{h,m}'
        end

        ss.subspec 'ViewController' do |sss|
            sss.source_files = 'MistKit/Classes/Base/ViewController/*.{h,m}'
        end

    end
  
end
